class Settings{
  // urls
  static const String NEWS_URL = 'https://api.warframestat.us/pc/news';
  static const String SORTIE_URL = 'https://api.warframestat.us/pc/sortie';
  static const String EARTH_CYCLE_URL = 'https://api.warframestat.us/pc/earthCycle';
  static const String CETUS_CYCLE_URL = 'https://api.warframestat.us/pc/cetusCycle';
  static const String ALERTS_URL = 'https://api.warframestat.us/pc/alerts';
  static const String SORTIE_IMG = 'https://vignette.wikia.nocookie.net/warframe/images/1/15/Sortie_b.png/revision/latest?cb=20151217134250';
  // app info
  static const String APP_DESCRIPTION = "这是一款用于查看warframe游戏状态的app,将会陆续添加各种信息的采集。名字来源于某C佬 ‘C’ 语言。由Flutter/Dart开发";
  static const String DEV_INFO = "正在学习Flutter的Dqn";
  static const String DEV_EMAIL = 'iamdqncoder@gmail.com';
  // translations for mission types


  // mission types' translations.
  static const Map MISSION_TYPE_TRANSLATION = const {
    'Extermination' : '歼灭',
    'Defense':'防御',
    'Void':'虚空突袭',
    'Survival':'生存',
    'Spy':'间谍',
    'Defection':'赶猪',
    'Interception':'拦截',
    'Excavation':'挖掘',
    'Assassination':'刺杀',
    'Caption':'捕获',
    'Sabotage':'破坏',
    'Crossfire':'多方交战',
    'Rescue':'救援',
    'Hijack':'劫持',
    'Mobile Defense':'移动防御'
  };  


  // planet node names' translations
  static String translateNodeName(String source){
    return source
      .replaceAll("Void", '虚空')
      .replaceAll('Mars', '火星')
      .replaceAll('Phobos', '火卫一')
      .replaceAll('Earth', '地球')
      .replaceAll('Uranus', '天王星')
      .replaceAll('Mercury', '水星')
      .replaceAll('Venus', '金星')
      .replaceAll('Jupiter', '木星')
      .replaceAll('Eris', '阋神星')
      .replaceAll('Saturn', '土星')
      .replaceAll('Ceres', '谷神星')
      .replaceAll('Pluto', '冥王星')
      .replaceAll('Europa', '欧罗巴')
      .replaceAll('Neptune', '海王星');
  }
} 